import 'package:flutter/cupertino.dart';
import 'package:xuance/generated/assets.dart';

class EmptyWidget extends StatelessWidget {
  const EmptyWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: Padding(
        padding: const EdgeInsets.all(8.0),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Image.asset(Assets.assetsEmpty, scale: 3),
            const Text(
              "(暂无数据)",
              style: TextStyle(color: CupertinoColors.white),
            )
          ],
        ),
      ),
    );
  }
}
